#set(title="三木云盘-注册")
#@layout()

#define body()
<div class="register-container">
    <form id="register-form" action="" method="post" class="layui-form register-form">
        <div class="layui-form-item">
            <div class="layui-input-block">
                <input type="text" name="nickname" placeholder="昵称（可不填）" autocomplete="on"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <input type="text" name="username" required lay-verfiy="required" placeholder="用户名" autocomplete="on"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <input type="password" name="pwd" required lay-verfiy="required" placeholder="密码" autocomplete="off"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <input type="password" name="salt" required lay-verfiy="required" placeholder="确认密码" autocomplete="off"
                       class="layui-input">
            </div>
        </div>

        #include("/_view/common/component/captcha.html")
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="registerSubmit">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>

    </form>
</div>

#end

#define css()
<link rel="stylesheet" href="/assets/css/register.css">
#end

#define js()
<script type="text/javascript" src="/assets/js/register.js"></script>
#end